Improve error message.
authorEwan Mellor <ewan@xensource.com>
Fri, 9 Mar 2007 01:59:59 +0000 (01:59 +0000)
committerEwan Mellor <ewan@xensource.com>
Fri, 9 Mar 2007 01:59:59 +0000 (01:59 +0000)
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
tools/python/xen/xm/XenAPI.py

index 8d58c3f7f63ff994b14d6d6231ba31d309cbdced..e557b9ccb8b0c183d3581bb67691fdafbab2c771 100644 (file)
@@ -155,7 +155,7 @@ class Session(xen.util.xmlrpclib2.ServerProxy):
 
 def _parse_result(result):
     if type(result) != dict or 'Status' not in result:
-        raise xmlrpclib.Fault(500, 'Missing Status in response from server')
+        raise xmlrpclib.Fault(500, 'Missing Status in response from server' + result)
     if result['Status'] == 'Success':
         if 'Value' in result:
             return result['Value']